//
//  LessonViewController.h
//  Pr2
//
//  Created by Qingxin Xuan on 9/12/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ThumbScrollView.h"
#import "LBYouTubePlayerViewController.h"

@class Lesson;

@interface LessonViewController : UIViewController <ThumbScrollViewDelegate, LBYouTubePlayerControllerDelegate >
@property (nonatomic, strong) IBOutlet ThumbScrollView* thumbScrollView;
@property (nonatomic, strong) IBOutlet UIImageView*     imgView;
@property (nonatomic, strong) IBOutlet UILabel*         lblTitle;
@property (nonatomic, strong) Lesson*                   lesson;

@property (nonatomic, strong) IBOutlet UIView*          vwLeftProperty;
@property (nonatomic, strong) IBOutlet UIView*          vwRightProperty;

@property (nonatomic, strong) UIView*                   dragSourceView;
@property (nonatomic, strong) UIView*                   dragTargetView;
@property (nonatomic, strong) UIView*                   movingView;

@property (nonatomic, strong) IBOutlet UIView*                   contentView;
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView*  activity;

@property (nonatomic, assign) CGPoint                  origSrcViewCenter;
@property (nonatomic, strong) LBYouTubePlayerViewController*    vController;
@property (nonatomic, strong) IBOutlet UILabel*         lblDescription;
@end
